﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderCard.aspx.cs" Inherits="Card.Manager.OrderCard" %>

<%@ Import Namespace="Card.Utility" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>名片详情</title>
    <link href="Css/Style.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table class="TB">
        <tr>
            <td class="TD_Input_Text">
                模版
            </td>
            <td class="TD_Input">
                <%= this.Item.CardName %>
            </td>
        </tr>
        <tr>
            <td class="TD_Input_Text">
                纸张|边角|盒数
            </td>
            <td class="TD_Input">
                <%= this.Item.CardSettingName %>|<%= this.Item.CornerName %>|<%=this.Item.BoxNum %>盒
            </td>
        </tr>
        <tr>
            <td class="TD_Input_Text">
                微调
            </td>
            <td class="TD_Input">
                <%= this.Item.IsAdjust?this.Item.AdjustDESC:"无微调" %>
            </td>
        </tr>
        <tr>
            <td class="TD_Input_Text">
                名片详情
            </td>
            <td class="TD_Input">
                <ul style="margin: 10px; list-style: none; list-style-type: none;">
                    <li>
                        <img border="0" src='<%= ImageUtilty.GetOrderCardThumbImagePath(this.NameCard.ID,this.NameCard.UserID,Card.CONST.CARD_FACE_TYPE.FRONT ,this.NameCard.FrontImage) %>' />
                        <p style="font-size: 14px; padding-top: 5px;">
                            正面|<a target="_blank" href='<%= ImageUtilty.GetOrderCardImagePath(this.NameCard.ID,this.NameCard.UserID,Card.CONST.CARD_FACE_TYPE.FRONT ,this.NameCard.FrontImage) %> '>大图</a></p>
                    </li>
                    <li>
                        <img  border="0" src='<%= ImageUtilty.GetOrderCardThumbImagePath(this.NameCard.ID,this.NameCard.UserID,Card.CONST.CARD_FACE_TYPE.BACK ,this.NameCard.BackImage) %>' />
                        <p style="font-size: 14px; padding-top: 5px;">
                            反面|<a  target="_blank" href='<%= ImageUtilty.GetOrderCardImagePath(this.NameCard.ID,this.NameCard.UserID,Card.CONST.CARD_FACE_TYPE.BACK ,this.NameCard.BackImage) %> '>大图</a></p>
                    </li>
                </ul>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="button" value="返回" onclick="javascript:location.href='orderdetail.aspx?oid=<%=this.Item.OrderID %>'" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
